home *** CD-ROM | disk | FTP | other *** search
-
- Paul asked:
- ...
- > When I build my winsock application I link in the winsock.lib file. When the
- > application starts, if it cannot find a winsock.dll anywhere in the path then
- > it bombs out with a system modal "Cannot find WINSOCK.DLL" and the
- > application never starts. This message occurs before my applcaition starts
- > and reaches the point where I call WSAStartUp to test for a valid WINSOCK.DL
- ...
- > Has anyone seen this?
- > Has anyone fixed this?
- > Who actually controls the winsock.lib
- > Is there source code for it?
-
- The symptoms that you have noticed are 'pure' Windows!
-
- When you link with an (import) library, you tell Windows
- that you want to load that library (DLL) when your app
- starts. Also you say that your app cannot live without
- that DLL!
-
- The alternatives you have are:
-
- A) remove the import library from the linkage; use directory
- operations to search for the DLL (show an error if not found),
- call LoadLibrary, call GetProcAddress for any of the APIs you need,
- call the APIs only through these pointers and finally call
- FreeLibrary
-
- B) make another (small) app that uses the directory operations and
- finally start your (main) app with WinExec if you find WINSOCK.DLL;
- this way your main app can be linked with the import library but
- you still can check the existence of WINSOCK.DLL (besides:
- this way you can also very quickly show some start up logo,
- check against multiple instances of your app etc.)
-
- Pekka Neva
-
- ===============================================================================
- Oy Laatukolmio Ab Tel: + 358 0 427766
- Westendintie 99-101 A 30 Fax: + 358 0 4524648
- FIN-02160 ESPOO 16
- FINLAND ELISA: Laatukolmio
- ===============================================================================
- From stan@pobox.upenn.edu Tue Mar 8 03:23:39 1994
- Received: from NOC4.DCCS.UPENN.EDU by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
- id AA28529; Tue, 8 Mar 1994 08:23:45 -0500
- Received: from POBOX.UPENN.EDU by noc4.dccs.upenn.edu
- id AA20905; Tue, 8 Mar 94 08:23:41 -0500
- Return-Path: <stan@pobox.upenn.edu>
- Received: by pobox.upenn.edu
- id AA23486; Tue, 8 Mar 94 08:23:40 -0500
- From: Stan Kasper <stan@pobox.upenn.edu>
- Posted-Date: Tue, 8 Mar 1994 08:23:39 -0500 (EST)
- Message-Id: <9403081323.AA23486@pobox.upenn.edu>
- Subject: $25 WINSOCK
- To: winsock@sunsite.unc.edu
- Date: Tue, 8 Mar 1994 08:23:39 -0500 (EST)
- Cc: catone@dmark.wharton.upenn.edu (Tony Catone)
- X-Mailer: ELM [version 2.4 PL23-upenn2.7]
- Mime-Version: 1.0
- Content-Type: text/plain; charset=US-ASCII
- Content-Transfer-Encoding: 7bit
- Content-Length: 1631
-
- After seeing posts about a $25 WINSOCK for SLIP/PPP I immediately went out
- and got the book (The WINDOWS INTERNET Tour Guide) that comes with this
- software.
-
- For me, the TRUMPET WINSOCK was a 5 minute install, including scripting.
-
- The 'WINDOWS INTERNET TOUR GUIDE' on the other hand was not!!!
-
- Sure, it would have been easier if I could have used one of the default
- configurations of several large service provides (which the person who
- got there WINSOCK up in running in 5 minutes was probably subscribed to),
- but I work for a University and the terminal server is setup a bit different.
- So I had to spend a bit of time going through the README file on script
- commands (I would rate the TRUMPET WINSOCK scripting better than what was
- presented in the REAME file). I have still not gotten the script language
- from the book to recognize the IP address. Whereas with TRUMPET WINSOCK
- it was no problem. I am using the README's command '-i' and watching the
- 'LOG' file but the CHAMELEON WINSOCK that comes with the book doesnt
- seem to pick it up. Now I may be doing something wrong. It just
- seems the TRUMPET WINSOCK handles it better for my environment.
-
- Also the books WINSOCK only gave me modem speeds to 19.2KB in the pull
- down configuration using CSLIP even though I am using CYBERDRIVE and
- have a 16550AF serial card. Once again, I may not have it setup right
- but with TRUMPET WINSOCK it was right there in the configuration window.
-
- As far as installation and support to conect to a terminal server go,
- TRUMPET WINSOCK does it better.
-
- Now there are other issues to consider...
-
-
- -Stan Kasper
- University of Pennsylvania
- From news@bigblue.oit.unc.edu Mon Mar 7 15:37:35 1994
- Received: from bigblue.oit.unc.edu by SunSITE.Unc.EDU (5.65c+IDA/FvK-1.07) with SMTP
- id AA05997; Tue, 8 Mar 1994 09:28:07 -0500
- Received: by bigblue.oit.unc.edu (AIX 3.2/UCB 5.64/4.03)
- id AA24444; Tue, 8 Mar 1994 09:04:45 -0500
- Received: from GATEWAY by bigblue with netnews
- for winsock@sunsite.unc.edu (winsock@sunsite.unc.edu)
- To: winsock@sunsite.unc.edu
- Date: 7 Mar 1994 23:37:35 -0800
- From: harlock@hebron.connected.com (Eric Harding)
- Message-Id: <2lh9vv$gjf@hebron.connected.com>
- Organization: Connected INC -- Internet Services
- Sender: ses
- Subject: Suggestions for Newbie
-
- Can some suggest some programs to run with Winsock? Specifically a
- newsreader, Telnet, FTP, Gopher, WWW, WAIS clients? Newsreader wise, I
- am looking for a threaded newsreader, with uuencode/uudecode capibilites.
-
- Thanks.
-
- Eric
-
- --
-
- _______________________________________________________________
- /Eric Harding 'My opinions are mine, not anyone else's. /
- /harlock@hebron.connected.com /
- /-------------------------------------------------------------/
- / IMAGE= Infantile Men And Giant Egos. /
- / Just killing time untill something better comes along. /
- / Omega Supreme TransformersMUSH /
- --------------------------------------------------------------
-
-